Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stack][material] Use createStack from the system #33795

Merged

Conversation

mnajdova
Copy link
Member

@mnajdova mnajdova commented Aug 4, 2022

@mui-bot
Copy link

mui-bot commented Aug 4, 2022

Netlify deploy preview

https://deploy-preview-33795--material-ui.netlify.app/

@material-ui/core: parsed: +0.09% , gzip: +0.11%

Bundle size report

Details of bundle changes

Generated by 🚫 dangerJS against 34e4536

@mnajdova mnajdova added package: material-ui Specific to @mui/material component: Stack The React component. labels Aug 4, 2022
@mnajdova mnajdova changed the title [Stack] Use createStack from the system [Stack][material] Use createStack from the system Aug 4, 2022
@@ -1,6 +1,7 @@
{
"props": {
"children": { "type": { "name": "node" } },
"component": { "type": { "name": "elementType" } },
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops this was missing in the prop types

@@ -6,7 +6,6 @@ import { Theme } from '../styles/createTheme';
export interface StackTypeMap<P = {}, D extends React.ElementType = 'div'> {
props: P &
SystemProps<Theme> & {
ref?: React.Ref<unknown>;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant, not sure why we had it here.

@mnajdova mnajdova marked this pull request as ready for review August 4, 2022 14:10
@mnajdova mnajdova requested a review from a team August 4, 2022 14:10
@mnajdova mnajdova added package: material-ui Specific to @mui/material component: Stack The React component. and removed package: material-ui Specific to @mui/material component: Stack The React component. labels Aug 10, 2022
@mnajdova mnajdova requested a review from siriwatknp August 31, 2022 13:24
@siriwatknp
Copy link
Member

@mnajdova I updated the material-ui-eslint to support the component factory. please check the latest commits.

@mnajdova
Copy link
Member Author

@siriwatknp it's been a long time on this PR :D I've updated to latest master, should we merge it?

Copy link
Member

@hbjORbj hbjORbj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 one nit.

Co-authored-by: Siriwat K <[email protected]>
Signed-off-by: Marija Najdova <[email protected]>
@mnajdova mnajdova merged commit ec7cdb2 into mui:master Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Stack The React component. package: material-ui Specific to @mui/material
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants